package com.indexingsystem.boss.entity;

import java.io.Serializable;

public class UserInstitution implements Serializable {
	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;

	private String				userInstitutionId;

	private String				institutionId;

	private String				userId;

	private Integer				relation;

	public String getUserInstitutionId() {
		return userInstitutionId;
	}

	public void setUserInstitutionId(String userInstitutionId) {
		this.userInstitutionId = userInstitutionId == null ? null : userInstitutionId.trim();
	}

	public String getInstitutionId() {
		return institutionId;
	}

	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId == null ? null : institutionId.trim();
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId == null ? null : userId.trim();
	}

	public Integer getRelation() {
		return relation;
	}

	public void setRelation(Integer relation) {
		this.relation = relation;
	}

	public UserInstitution() {
	}

	public UserInstitution(String userInstitutionId, String institutionId, String userId, Integer relation) {
		super();
		this.userInstitutionId = userInstitutionId;
		this.institutionId = institutionId;
		this.userId = userId;
		this.relation = relation;
	}

	@Override
	public String toString() {
		return "UserInstitution [userInstitutionId=" + userInstitutionId + ", institutionId=" + institutionId + ", userId=" + userId + ", relation="
				+ relation + "]";
	}
}